import request from '@/utils/request'
// 登录接口
export function postUserLogin(data) {
  return request({
    url: 'user/login',
    method: 'post',
    data: data
  })
}
//注册接口
export function postUserRegister(data) {
  return request({
    url: 'user/register',
    method: 'post',
    data: data
  })
}